package org.team751.io;

import javax.microedition.io.Connector;

/**
 * Tests the interface with the Pandaboard
 * <br /><br />
 * Important port stuff: <br />
 * The following ports are open for communication between the robot and driver station on the field:
 * <ul>
 * <li>TCP 1180: bidirectional, used for camera data to driver station</li>
 * <li>TCP 1735: bidirectional, used for Smart Dashboard protocol</li>
 * <li>UDP 1130: directional, used to send control data to the robot</li>
 * <li>UDP 1140: directional, used to send driver station-related data to the dashboard</li>
 * <li>HTTP 80 and 443: bidirectional, used for the Axis 206 camera</li>
 * </ul>
 * UDP Communication within the robot is not allowed on ports 1100-1200<br />
 * This interface between the Pandaboard and cRIO (all on the robot) uses UDP port 751.
 * 
 * @author Sam Crow
 */
public class PandaboardInterface extends Thread {
    public static final short kPort = 751;
    public static final String kProtocol = "udp";
    public static final String kHost = "10.7.51.12";
    
    

    public PandaboardInterface(String name) {
        super(name);
    }

    public PandaboardInterface() {
        super();
    }
    
    private void initConnection(){
        String connectionName = kProtocol + "://" + kHost + ":" + kPort;
        
    }
    
}
